package com.zhu.minio;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) //排除数据源配置，没用到mysql所以要排除
@ComponentScan({"com.zhu"})
@EnableDiscoveryClient
@EnableFeignClients
public class MinioOssApplication {
    public static void main(String[] args) {
        SpringApplication.run(MinioOssApplication.class,args);
    }

}
